package com.mly.dao.imp;

import com.mly.dao.PageDao;
import org.springframework.stereotype.Repository;
import orm.base.Ex.BaseDaoEx;

import java.util.List;
import java.util.Map;

/**
 * Created by ashin on 2018/4/2.
 */
@Repository
public class PageDaoImp extends BaseDaoEx implements PageDao {

    @Override
    protected void init() {
        super.init(this);
    }

    @Override
    public List<Map> queryTypesByPage(Map map) throws Exception {
        return this.query("queryTypesByPage", map);
    }
}
